package com.gouqi.gouqitoolscommon.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 角色权限映射表
 * @TableName role_ps
 */
@TableName(value ="role_ps")
@Data
public class RolePs implements Serializable {
    /**
     * 编号
     */
    @TableId
    private String id;

    /**
     * 角色 id
     */
    private String roleId;

    /**
     * 权限 id
     */
    private String permissionId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}